package com.snake.springboot.custom.service.assemble.fileoss;


import com.snake.springboot.custom.api.model.fileoss.FileOSSModel;
import com.snake.springboot.custom.dao.mybatis.entity.fileoss.FileOssDO;
import org.snake.common.utils.PropertyUtils;

/**
 * <p>文件OSS组装器
 * 类{@code FileOssAssemble} </br>
 * 创建时间2025/5/7 16:15
 * @author yangxt
 * @see
 */
public class FileOssAssemble {
    public static FileOssDO toFileOssDO(FileOSSModel model) {
        FileOssDO ossDO = new FileOssDO();
        PropertyUtils.copyProperties(ossDO, model);
        return ossDO;
    }
}
